package com.yuandengta.yomall.product.dao;

import com.yuandengta.yomall.product.entity.AttrGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuandengta.yomall.product.vo.SpuAttrGroupVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 属性分组
 * 
 * @author kevin
 * @email 178676392@qq.com
 * @date 2020-12-20 17:30:25
 */
@Repository
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<SpuAttrGroupVO> selectAttrGroupWithAttrsBySpuId(@Param("catalogId") Long catalogId,
                                                         @Param("spuId") Long spuId);

}
